﻿Public Class SkinCareList
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Request.Params("TagName") = "" Then
            GridView1.DataSourceID = "SkinDataSource"
        Else
            GridView1.DataSourceID = "SkinDataSource0"
        End If
    End Sub

    Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
        Response.Redirect("rss.aspx")
    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles AddNew.Click
        Response.Redirect("addnewskincare.aspx")
    End Sub

    Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles GridView1.SelectedIndexChanged

    End Sub

    Protected Sub search_Click(ByVal sender As Object, ByVal e As EventArgs) Handles search.Click
        Dim url As String = "skincaretags.aspx?TagName=" & t1.Text
        Response.Redirect(url)
    End Sub
End Class